package com.duruikang.LeaveAPI.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.duruikang.LeaveAPI.entity.Token;

/**
 * @author Drik
 * @date 2021-12-20 17:06
 */

public interface SecurityService extends IService<Token> {

    public Boolean isTokenExist(String token);

    public int registerToken(String token);

    public int removeToken(String token);

    public String checkToken(String token);
}
